﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Planisoft.Entities;

namespace Planisoft.DAO
{
    public class TipoContratoDAO : MasterDataAcces , ITipoContratoDAO  
    {
        public List<TipoContrato> GetAllFromTipoContrato()
        {
            var query = from tc in Context.TipoContratoes
                        orderby tc.DesctipoCont
                        select tc;
            return query.ToList();
        }

        public List<TipoContrato> GetAllFromTipoContrato(string criterio)
        {
            throw new NotImplementedException();
        }

        public Contrato GetFromContratoById(int id)
        {
            throw new NotImplementedException();
        }

        public void AddContrato(Contrato contrato)
        {
            throw new NotImplementedException();
        }

        public void UpdateContrato(Contrato contrato)
        {
            throw new NotImplementedException();
        }

        public void RemoveContrato(int id)
        {
            throw new NotImplementedException();
        }
    }
}
